<html><body>
<style>

body, h1, h2, h3, div, span, p, pre, a {
  margin: 0;
  padding: 0;
  border: 0;
  font-weight: inherit;
  font-style: inherit;
  font-size: 100%;
  font-family: inherit;
  vertical-align: baseline;
}

body {
  font-size: 13px;
  padding: 1em;
}

h1 {
  font-size: 26px;
  margin-bottom: 1em;
}

h2 {
  font-size: 24px;
  margin-bottom: 1em;
}

h3 {
  font-size: 20px;
  margin-bottom: 1em;
  margin-top: 1em;
}

pre, code {
  line-height: 1.5;
  font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
}

pre {
  margin-top: 0.5em;
}

h1, h2, h3, p {
  font-family: Arial, sans serif;
}

h1, h2, h3 {
  border-bottom: solid #CCC 1px;
}

.toc_element {
  margin-top: 0.5em;
}

.firstline {
  margin-left: 2 em;
}

.method  {
  margin-top: 1em;
  border: solid 1px #CCC;
  padding: 1em;
  background: #EEE;
}

.details {
  font-weight: bold;
  font-size: 14px;
}

</style>

<h1><a href="content_v2_1.html">Content API for Shopping</a> . <a href="content_v2_1.repricingrules.html">repricingrules</a> . <a href="content_v2_1.repricingrules.repricingreports.html">repricingreports</a></h1>
<h2>Instance Methods</h2>
<p class="toc_element">
  <code><a href="#close">close()</a></code></p>
<p class="firstline">Close httplib2 connections.</p>
<p class="toc_element">
  <code><a href="#list">list(merchantId, ruleId, endDate=None, pageSize=None, pageToken=None, startDate=None, x__xgafv=None)</a></code></p>
<p class="firstline">*Deprecated*: New merchants can't start using this service. Lists the metrics report for a given Repricing rule.</p>
<p class="toc_element">
  <code><a href="#list_next">list_next()</a></code></p>
<p class="firstline">Retrieves the next page of results.</p>
<h3>Method Details</h3>
<div class="method">
    <code class="details" id="close">close()</code>
  <pre>Close httplib2 connections.</pre>
</div>

<div class="method">
    <code class="details" id="list">list(merchantId, ruleId, endDate=None, pageSize=None, pageToken=None, startDate=None, x__xgafv=None)</code>
  <pre>*Deprecated*: New merchants can&#x27;t start using this service. Lists the metrics report for a given Repricing rule.

Args:
  merchantId: string, Required. Id of the merchant who owns the Repricing rule. (required)
  ruleId: string, Required. Id of the Repricing rule. (required)
  endDate: string, Gets Repricing reports on and before this date in the merchant&#x27;s timezone. You can only retrieve data up to 7 days ago (default) or earlier. Format: YYYY-MM-DD.
  pageSize: integer, Maximum number of daily reports to return. Each report includes data from a single 24-hour period. The page size defaults to 50 and values above 1000 are coerced to 1000. This service may return fewer days than this value, for example, if the time between your start and end date is less than page size.
  pageToken: string, Token (if provided) to retrieve the subsequent page. All other parameters must match the original call that provided the page token.
  startDate: string, Gets Repricing reports on and after this date in the merchant&#x27;s timezone, up to one year ago. Do not use a start date later than 7 days ago (default). Format: YYYY-MM-DD.
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Response message for the ListRepricingRuleReports method.
  &quot;nextPageToken&quot;: &quot;A String&quot;, # A token for retrieving the next page. Its absence means there is no subsequent page.
  &quot;repricingRuleReports&quot;: [ # Daily reports for the given Repricing rule.
    { # Resource that represents a daily Repricing rule report. Next ID: 11
      &quot;buyboxWinningRuleStats&quot;: { # Stats specific to buybox winning rules for rule report. # Stats specific to buybox winning rules for rule report (deprecated).
        &quot;buyboxWonProductCount&quot;: 42, # Number of unique products that won the buybox with this rule during this period of time.
      },
      &quot;date&quot;: { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # Date of the stats in this report. The report starts and ends according to the merchant&#x27;s timezone.
        &quot;day&quot;: 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn&#x27;t significant.
        &quot;month&quot;: 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
        &quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
      },
      &quot;impactedProducts&quot;: [ # List of product ids that are impacted by this rule during this reporting period. Out of stock products and products not searched for by customers are examples of non-impacted products.
        &quot;A String&quot;,
      ],
      &quot;inapplicabilityDetails&quot;: [ # List of all reasons the rule did not apply to the inapplicable products during the specified reporting period.
        { # Map of inapplicability details.
          &quot;inapplicableCount&quot;: &quot;A String&quot;, # Count of this inapplicable reason code.
          &quot;inapplicableReason&quot;: &quot;A String&quot;, # Reason code this rule was not applicable.
        },
      ],
      &quot;inapplicableProducts&quot;: [ # List of product ids that are inapplicable to this rule during this reporting period. To get the inapplicable reason for a specific product, see RepricingProductReport.
        &quot;A String&quot;,
      ],
      &quot;orderItemCount&quot;: 42, # Total unit count of impacted products ordered while the rule was active on the date of the report. This count includes all orders that were started while the rule was active, even if the rule was no longer active when the order was completed.
      &quot;ruleId&quot;: &quot;A String&quot;, # Id of the Repricing rule for this report.
      &quot;totalGmv&quot;: { # The price represented as a number and currency. # Total GMV generated by impacted products while the rule was active on the date of the report. This value includes all orders that were started while the rule was active, even if the rule was no longer active when the order was completed.
        &quot;currency&quot;: &quot;A String&quot;, # The currency of the price.
        &quot;value&quot;: &quot;A String&quot;, # The price represented as a number.
      },
      &quot;type&quot;: &quot;A String&quot;, # Type of the rule.
    },
  ],
}</pre>
</div>

<div class="method">
    <code class="details" id="list_next">list_next()</code>
  <pre>Retrieves the next page of results.

        Args:
          previous_request: The request for the previous page. (required)
          previous_response: The response from the request for the previous page. (required)

        Returns:
          A request object that you can call &#x27;execute()&#x27; on to request the next
          page. Returns None if there are no more items in the collection.
        </pre>
</div>

</body></html>